<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title></title>
		<link rel="stylesheet" type="text/css" href="../css/head.css"/>
		<link rel="stylesheet" type="text/css" href="../css/foot.css"/>
		<link rel="stylesheet" type="text/css" href="../css/reset.css"/>
		<link rel="stylesheet" type="text/css" href="../css/homePage.css"/>
		<link rel="stylesheet" type="text/css" href="../css/contact.css"/>
		<link rel="stylesheet" type="text/css" href="../css/joinUs.css"/>
	</head>
	<body ng-app="myApp">
		<div ng-include="'head.html'"></div>
		
		<ng-view></ng-view>
		
		
		<div ng-include="'foot.html'"></div>
		
		<script src="../js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/angular.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/angular-route.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/head.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/homePage.js" type="text/javascript" charset="utf-8"></script>
		<script src="../js/contact.js" type="text/javascript" charset="utf-8"></script>
		
		
		<script type="text/javascript">
			
			app.config(function($routeProvider){
				$routeProvider.when('/',{
		            templateUrl:'homePage.html'
		        }).when('/a',{
		            templateUrl:'homePage.html'
		        }).when('/b',{
		            templateUrl:'homePage.html'
		        }).when('/c',{
		            templateUrl:'homePage.html'
		        }).when('/d',{
		            templateUrl:'joinUs.html'
		        }).when('/e',{
		            templateUrl:'homePage.html'
		        }).when('/f',{
		            templateUrl:'homePage.html'
		        }).when('/g',{
		            templateUrl:'contact.html'
		        });
		        
		        
		        //如果没有改路径,返回 home 页面
	        $routeProvider.otherwise({
	            templateUrl:'homePage.html'
	        });
		        
			})
			
			
			
			
		</script>
	</body>
</html>
